<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
	<Button name="nivBuffButtonTemplate" inherits="SecureActionButtonTemplate" virtual="true">
		<Size x="28" y="28"/>
        <Attributes>
			<Attribute name="type" value="cancelaura"/>
		</Attributes>
		<Scripts>
			<OnLoad>
				self:RegisterForClicks("RightButtonUp");
			</OnLoad>
			<OnEnter>
				GameTooltip:SetOwner(self, "ANCHOR_BOTTOMLEFT");
				GameTooltip:SetFrameLevel(self:GetFrameLevel() + 2);
				local s = self.slotID or 0;
				if s == 16 or s == 17 or s == 18 then
					GameTooltip:SetInventoryItem("player", s);
				else
					GameTooltip:SetUnitAura("player", self:GetID(), "HELPFUL");
				end
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
	</Button>
	<Button name="nivDebuffButtonTemplate" inherits="SecureActionButtonTemplate" virtual="true">
		<Size x="28" y="28"/>
		<Scripts>
			<OnEnter>
				GameTooltip:SetOwner(self, "ANCHOR_BOTTOMLEFT");
				GameTooltip:SetFrameLevel(self:GetFrameLevel() + 2);
				GameTooltip:SetUnitAura("player", self:GetID(), "HARMFUL");
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
	</Button>
	
</Ui>